
#define N 10

typedef char* K;
typedef char* V;

typedef struct entry {
	K key;
	V val;
	struct entry* next;
} Entry;

typedef struct {
	Entry* table[N];
} HashMap;

HashMap* hashmap_create();
void hashmap_destroy(HashMap* map);

V hashmap_put(HashMap* map, K key, V val);
V hashmap_get(HashMap* map, K key);
void hashmap_delete(HashMap* map, K key);
